package com.haiyou.protocol.http.sdk.thirdSdk;

import com.alibaba.fastjson2.JSONObject;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 爱玩user/auth 验证返回
 * 
 * @author xingyuan
 * @date 2023年12月6日 上午9:54:39
 */
@Getter
@Setter
@ToString
public class AiWanUserAuthResponse {

	private int code;
	
	private String msg;
	
	private JSONObject data;
	
	public static void main(String[] args) {
		
		String str = "{\"code\": 200,\"msg\": \"success\",\"data\": {\"account\": \"2020092315165768\"}}";
	
		
		AiWanUserAuthResponse response = JSONObject.parseObject(str, AiWanUserAuthResponse.class);
		
		System.err.println(JSONObject.toJSONString(response));
	}
	
}
